﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Presentacion/Maestra.Master"
    CodeBehind="ProgramarReglas.aspx.vb" Inherits="SIAVU.Presentacion.ProgramarReglas"
    Title="SIAVU - Programar reglas" %>

<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 100%; height: 100%">
        <tr>
            <td align="center">
                <asp:UpdatePanel ID="upRegla" runat="server">
                    <ContentTemplate>
                        <dx:ASPxRoundPanel ID="rpnlRegla" runat="server" HeaderText="Reglas" Width="60%"
                            CssFilePath="~/App_Themes/Youthful/{0}/styles.css" CssPostfix="Youthful" HorizontalAlign="Center"
                            SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css">
                            <ContentPaddings Padding="6px" PaddingBottom="6px" PaddingTop="4px" />
                            <HeaderStyle Font-Bold="True" Font-Names="Calibri" Font-Size="15px">
                                <Paddings PaddingBottom="13px" PaddingTop="0px" />
                            </HeaderStyle>
                            <PanelCollection>
                                <dx:PanelContent ID="PanelContent2" runat="server">
                                    <table style="width: 100%; height: 100%">
                                        <tr>
                                            <td width="30%">
                                                <b>Destino</b>
                                            </td>
                                            <td width="70%">
                                                <dx:ASPxComboBox ID="cmbDestino" runat="server" ValueType="System.String" AutoPostBack="true"
                                                    TextField="Descripcion" ValueField="CiudadID">
                                                </dx:ASPxComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <br />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <b>Horas libres</b><hr />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="30%">
                                                <b>Antes de Aterrizaje</b>
                                            </td>
                                            <td width="70%">
                                                <dx:ASPxTextBox ID="txtHorasAntes" runat="server" Width="170px" MaxLength="4">
                                                    <MaskSettings IncludeLiterals="None" Mask="&lt;0..9999&gt;" />
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="30%">
                                                <b>Después Aterrizaje</b>
                                            </td>
                                            <td width="70%">
                                                <dx:ASPxTextBox ID="txtHorasDespues" runat="server" Width="170px" MaxLength="4">
                                                    <MaskSettings IncludeLiterals="None" Mask="&lt;0..9999&gt;" />
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </dx:PanelContent>
                            </PanelCollection>
                        </dx:ASPxRoundPanel>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr valign="top">
            <td align="center">
                <dx:ASPxButton ID="btnAceptar" runat="server" Text="Guardar" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css"
                    CssPostfix="Office2003Blue" Font-Bold="True" Font-Names="Calibri" Font-Size="15px"
                    SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                </dx:ASPxButton>
                <asp:CustomValidator ID="cvGuardarRegla" runat="server" Text="*" ErrorMessage="Definido en la validación"
                    Display="Dynamic"></asp:CustomValidator>
            </td>
        </tr>
        <tr>
            <td>
                <br />
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:UpdateProgress ID="upProgressRegla" runat="server" AssociatedUpdatePanelID="upRegla">
                    <ProgressTemplate>
                        <div class="msg_actualizando">
                            <img src="../Imagenes/Progreso.gif" alt="" />
                            Aguarde unos instantes mientras se procesa la información...
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </td>
        </tr>
    </table>
</asp:Content>
